var webpack = require('webpack')

module.exports = {
  entry: './TESTPLAN/subscribe/js-cef/list.js',
  output: {
    path: __dirname +'/TESTPLAN/subscribe/js-es5',
	//path: '/../',
    filename: '[name].js'
  },
  module: {
      loaders: [{
      test: /\.json$/,
      loader: "json"
    }, {
      test: /\.js$/,
      exclude: /node_modules/,
      loader: 'babel-loader' //在webpack的module部分的loaders里进行配置即可
      // query: {
      //   // presets: ['es2015', 'react']
      //   presets: ['es2015']
      // }
    }]
  },
  // devtool: 'eval-source-map', //配置生成Source Maps，选择合适的选项
}

